Annotate GtkTextBuffer insert methods
authorPaolo Borelli <pborelli@gnome.org>
Sat, 31 Jul 2010 12:01:41 +0000 (14:01 +0200)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Wed, 4 Aug 2010 19:04:04 +0000 (21:04 +0200)
gtk/gtktextbuffer.c

index c184fd1631f579594afaaf24d9c644894e1892e6..118e3ad682a24a1a5784530c9995c1a5f6448ece 100644 (file)
@@ -921,7 +921,7 @@ gtk_text_buffer_emit_insert (GtkTextBuffer *buffer,
  * gtk_text_buffer_insert:
  * @buffer: a #GtkTextBuffer
  * @iter: a position in the buffer
- * @text: UTF-8 format text to insert
+ * @text: (array length=len) (element-type uint8): text in UTF-8 format
  * @len: length of text in bytes, or -1
  *
  * Inserts @len bytes of @text at position @iter.  If @len is -1,
@@ -949,7 +949,7 @@ gtk_text_buffer_insert (GtkTextBuffer *buffer,
 /**
  * gtk_text_buffer_insert_at_cursor:
  * @buffer: a #GtkTextBuffer
- * @text: some text in UTF-8 format
+ * @text: (array length=len) (element-type uint8): text in UTF-8 format
  * @len: length of text, in bytes
  *
  * Simply calls gtk_text_buffer_insert(), using the current